package com.site.blog.my.core;

import com.site.blog.my.core.entity.AdminUser;
import com.site.blog.my.core.util.MD5Util;
import org.json.JSONException;

public class Pwdtest {
    public static void main(String args[]) throws JSONException {
        AdminUser user = new AdminUser();
        user.setLoginUserName("admin");
        user.setLoginPassword("123456");
        String encodePwd = MD5Util.MD5Encode(user.getLoginUserName(), user.getLoginPassword(), "UTF-8");
        System.out.println(encodePwd);
    }
}
